/*
 * @Author       : ShiJunJie
 * @Date         : 2022-04-18 11:06:13
 * @LastEditors  : ShiJunJie
 * @LastEditTime : 2022-04-18 19:15:51
 * @FilePath     : /src/utils/regexp.ts
 * @Descripttion : 正则封装
 */

/** 手机号正则 */
export const RegExpPhone = new RegExp(/^1[3|4|5|8][0-9]\d{4,8}$/)
/** 邮箱正则 */
export const RegExpEmail = new RegExp(/^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/)
